package com.asia.bomc.workflow.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.asia.bomc.workflow.dao.UserDaoImp;
import com.asia.bomc.workflow.entity.BomcUser;

@Service(value = "userService")
public class UserServiceImpl implements IUserService {
	@Resource(name = "userDao")
	private UserDaoImp userDao;

	@Override
	public BomcUser findByUserName(String userName) {
		return userDao.findByUserName(userName);
	}

	public void setUserDao(UserDaoImp userDao) {
		this.userDao = userDao;
	}
}
